\section*{Software Information}

\begin{itemize}
\item Please check, whether your inputs, the equations applied and the charactersitics are displayed correctly.
\item You are welcome to send your feedback via \url{https://github.com/oemof/tespy/issues}.
\item \LaTeX packages required are:
\begin{itemize}
\item graphicx
\item float
\item hyperref
\item booktabs
\item amsmath
\item units
\item cleveref
\end{itemize}
\item To supress these messages, call the model documentation with the keyword draft=False.
\end{itemize}

\begin{table}[H]
\begin{tabular}{ll}
TESPy Version:&0.4.2-002 - User's Universe\\
Commit:&bb88b626@master\\
CoolProp version:&6.4.0\\
Python version:&3.8.0 (default, Oct 28 2019, 16:14:01) 
[GCC 8.3.0]\\
\end{tabular}
\end{table}
\newpage\section{Connections in design mode}

\subsection{Specified connection parameters}

\begin{table}[H]\begin{center}
\begin{tabular}{lrrrr}
\toprule
                                    label &  m in $\unitfrac[]{kg}{s}$ (\ref{eq:Connection_mass flow}) &  p in $\unit[]{bar}$ (\ref{eq:Connection_pressure}) &  T in $\unit[]{^\circ C}$ (\ref{eq:Connection_temperature}) &  x in $\unit[]{-}$ (\ref{eq:Connection_vapor mass fraction}) \\
\midrule
                               feed steam &                                                    200.000 &                                             100.000 &                                                     650.000 &                                                            - \\
                              extraction1 &                                                          - &                                              20.000 &                                                           - &                                                            - \\
                              extraction2 &                                                          - &                                               3.000 &                                                           - &                                                            - \\
 low pressure turbine:out1\_condenser:in1 &                                                          - &                                               0.050 &                                                           - &                                                            - \\
          economizer:out1\_evaporator:in1 &                                                          - &                                                   - &                                                           - &                                                        0.000 \\
         evaporator:out1\_superheater:in1 &                                                          - &                                                   - &                                                           - &                                                        1.000 \\
 cooling water source:out1\_condenser:in2 &                                                          - &                                              10.000 &                                                      20.000 &                                                            - \\
\bottomrule
\end{tabular}
\caption{Specified connection parameters}
\end{center}\end{table}

\subsection{Equations applied}

\begin{equation}
\label{eq:Connection_mass flow}
0 = \dot{m} - \dot{m}_\mathrm{spec}
\end{equation}

\begin{equation}
\label{eq:Connection_pressure}
0 = p - p_\mathrm{spec}
\end{equation}

\begin{equation}
\label{eq:Connection_temperature}
0 = T \left(p, h \right) - T_\mathrm{spec}
\end{equation}

\begin{equation}
\label{eq:Connection_vapor mass fraction}
0 = h - h\left(p, x_\mathrm{spec}\right)
\end{equation}

\subsection{Specified fluids}

\begin{table}[H]\begin{center}
\begin{tabular}{lr}
\toprule
                                    label &  water (\ref{eq:Connection_water}) \\
\midrule
                               feed steam &                              1.000 \\
 cooling water source:out1\_condenser:in2 &                              1.000 \\
\bottomrule
\end{tabular}
\caption{Specified fluids}
\end{center}\end{table}

\subsection{Equations applied}

\begin{equation}
\label{eq:Connection_water}
0 = x_\mathrm{water} - x_\mathrm{water,spec}
\end{equation}

\section{User defined equations in design mode}

\section{Components in design mode}

\subsection{Components of type CycleCloser}

\subsubsection{Mandatory constraints}

\begin{equation}
\label{eq:CycleCloser_pressure_equality_constraints}
0=p_{\mathrm{in,}i}-p_{\mathrm{out,}i}\; \forall i \in [1]
\end{equation}

\begin{equation}
\label{eq:CycleCloser_enthalpy_equality_constraints}
0=h_{\mathrm{in,}i}-h_{\mathrm{out,}i}\; \forall i \in [1]
\end{equation}


\subsection{Components of type Turbine}

\subsubsection{Mandatory constraints}

\begin{equation}
\label{eq:Turbine_mass_flow_constraints}
0=\dot{m}_{\mathrm{in,}i}-\dot{m}_{\mathrm{out,}i}\; \forall i \in [1]
\end{equation}

\begin{equation}
\label{eq:Turbine_fluid_constraints}
0=x_{fl\mathrm{,in,}i}-x_{fl\mathrm{,out,}i}\;\forall fl \in\text{network fluids,}\; \forall i \in [1]
\end{equation}


\subsubsection{Inputs specified}

\begin{table}[H]\begin{center}
\begin{tabular}{lr}
\toprule
                 label &  eta\_s (\ref{eq:Turbine_eta_s}) \\
\midrule
 high pressure turbine &                            0.900 \\
  mid pressure turbine &                            0.900 \\
  low pressure turbine &                            0.900 \\
\bottomrule
\end{tabular}
\caption{Parameters of components of type Turbine}
\end{center}\end{table}

\subsubsection{Equations applied}

\begin{equation}
\label{eq:Turbine_eta_s}
0=-\left(h_\mathrm{out}-h_\mathrm{in}\right)+\left(h_\mathrm{out,s}-h_\mathrm{in}\right)\cdot\eta_\mathrm{s}
\end{equation}


\subsection{Components of type Splitter}

\subsubsection{Mandatory constraints}

\begin{equation}
\label{eq:Splitter_mass_flow_constraints}
0 =\sum\dot{m}_{\mathrm{in},i}-\sum\dot{m}_{\mathrm{out},j}\;\forall i \in \text{inlets}, \forall j \in \text{outlets}
\end{equation}

\begin{equation}
\label{eq:Splitter_fluid_constraints}
0 = x_{fl\mathrm{,in}} - x_{fl\mathrm{,out,}j}\; \forall fl \in \text{network fluids,} \; \forall j \in\text{outlets}
\end{equation}

\begin{equation}
\label{eq:Splitter_energy_balance_constraints}
0=h_{in}-h_{\mathrm{out,}j}\;\forall j \in\text{outlets}
\end{equation}

\begin{equation}
\label{eq:Splitter_pressure_constraints}
\begin{split}
0 = p_\mathrm{in,1} - p_{\mathrm{in,}i} & \; \forall i \in \text{inlets} \setminus \left\lbrace 1\right\rbrace\\
0 = p_\mathrm{in,1} - p_{\mathrm{out,}j} & \; \forall j \in \text{outlets}\\
\end{split}
\end{equation}


\subsection{Components of type Condenser}

\subsubsection{Mandatory constraints}

\begin{equation}
\label{eq:Condenser_mass_flow_constraints}
0=\dot{m}_{\mathrm{in,}i}-\dot{m}_{\mathrm{out,}i}\; \forall i \in [1, 2]
\end{equation}

\begin{equation}
\label{eq:Condenser_fluid_constraints}
0=x_{fl\mathrm{,in,}i}-x_{fl\mathrm{,out,}i}\;\forall fl \in\text{network fluids,}\; \forall i \in [1, 2]
\end{equation}

\begin{equation}
\label{eq:Condenser_energy_balance_constraints}
0 = \dot{m}_\mathrm{in,1} \cdot \left(h_\mathrm{out,1} - h_\mathrm{in,1} \right) +\dot{m}_\mathrm{in,2} \cdot \left(h_\mathrm{out,2} - h_\mathrm{in,2} \right)
\end{equation}


\subsubsection{Inputs specified}

\begin{table}[H]\begin{center}
\begin{tabular}{lrrrl}
\toprule
                  label &  ttd\_u (\ref{eq:Condenser_ttd_u}) &  pr1 (\ref{eq:Condenser_pr1}) &  pr2 (\ref{eq:Condenser_pr2}) &  subcooling (\ref{eq:Condenser_subcooling}) \\
\midrule
              condenser &                              5.000 &                         1.000 &                         0.990 &                                        True \\
 feed water preheater 1 &                              5.000 &                         1.000 &                         0.990 &                                        True \\
 feed water preheater 2 &                              5.000 &                         1.000 &                         0.990 &                                        True \\
\bottomrule
\end{tabular}
\caption{Parameters of components of type Condenser}
\end{center}\end{table}

\subsubsection{Equations applied}

\begin{equation}
\label{eq:Condenser_ttd_u}
0=ttd_\mathrm{u}-T_\mathrm{sat}\left(p_\mathrm{in,1}\right) + T_\mathrm{out,2}
\end{equation}

\begin{equation}
\label{eq:Condenser_pr1}
0=p_\mathrm{in,1}\cdot pr1 - p_\mathrm{out,1}
\end{equation}

\begin{equation}
\label{eq:Condenser_pr2}
0=p_\mathrm{in,2}\cdot pr2 - p_\mathrm{out,2}
\end{equation}

\begin{equation}
\label{eq:Condenser_subcooling}
0=h_\mathrm{out,1} -h\left(p_\mathrm{out,1}, x=0 \right)
\end{equation}


\subsection{Components of type Pump}

\subsubsection{Mandatory constraints}

\begin{equation}
\label{eq:Pump_mass_flow_constraints}
0=\dot{m}_{\mathrm{in,}i}-\dot{m}_{\mathrm{out,}i}\; \forall i \in [1]
\end{equation}

\begin{equation}
\label{eq:Pump_fluid_constraints}
0=x_{fl\mathrm{,in,}i}-x_{fl\mathrm{,out,}i}\;\forall fl \in\text{network fluids,}\; \forall i \in [1]
\end{equation}


\subsubsection{Inputs specified}

\begin{table}[H]\begin{center}
\begin{tabular}{lr}
\toprule
             label &  eta\_s (\ref{eq:Pump_eta_s}) \\
\midrule
   feed water pump &                         0.800 \\
 feed water pump 2 &                         0.800 \\
 feed water pump 3 &                         0.800 \\
\bottomrule
\end{tabular}
\caption{Parameters of components of type Pump}
\end{center}\end{table}

\subsubsection{Equations applied}

\begin{equation}
\label{eq:Pump_eta_s}
0 =-\left(h_\mathrm{out}-h_\mathrm{in}\right)\cdot\eta_\mathrm{s}+\left(h_\mathrm{out,s}-h_\mathrm{in}\right)
\end{equation}


\subsection{Components of type Merge}

\subsubsection{Mandatory constraints}

\begin{equation}
\label{eq:Merge_mass_flow_constraints}
0 =\sum\dot{m}_{\mathrm{in},i}-\sum\dot{m}_{\mathrm{out},j}\;\forall i \in \text{inlets}, \forall j \in \text{outlets}
\end{equation}

\begin{equation}
\label{eq:Merge_fluid_constraints}
0=\sum_i \dot{m}_{\mathrm{in,}i} \cdot x_{fl\mathrm{,in,}i}- \dot {m}_\mathrm{out} \cdot x_{fl\mathrm{,out}}\; \forall fl \in \text{network fluids,} \; \forall i \in\text{inlets}
\end{equation}

\begin{equation}
\label{eq:Merge_energy_balance_constraints}
0=\sum_i\left(\dot{m}_{\mathrm{in,}i}\cdot h_{\mathrm{in,}i}\right) - \dot{m}_\mathrm{out} \cdot h_\mathrm{out} \; \forall i \in \text{inlets}
\end{equation}

\begin{equation}
\label{eq:Merge_pressure_constraints}
\begin{split}
0 = p_\mathrm{in,1} - p_{\mathrm{in,}i} & \; \forall i \in \text{inlets} \setminus \left\lbrace 1\right\rbrace\\
0 = p_\mathrm{in,1} - p_{\mathrm{out,}j} & \; \forall j \in \text{outlets}\\
\end{split}
\end{equation}


\subsection{Components of type Desuperheater}

\subsubsection{Mandatory constraints}

\begin{equation}
\label{eq:Desuperheater_mass_flow_constraints}
0=\dot{m}_{\mathrm{in,}i}-\dot{m}_{\mathrm{out,}i}\; \forall i \in [1, 2]
\end{equation}

\begin{equation}
\label{eq:Desuperheater_fluid_constraints}
0=x_{fl\mathrm{,in,}i}-x_{fl\mathrm{,out,}i}\;\forall fl \in\text{network fluids,}\; \forall i \in [1, 2]
\end{equation}

\begin{equation}
\label{eq:Desuperheater_energy_balance_constraints}
0 = \dot{m}_\mathrm{in,1} \cdot \left(h_\mathrm{out,1} - h_\mathrm{in,1} \right) +\dot{m}_\mathrm{in,2} \cdot \left(h_\mathrm{out,2} - h_\mathrm{in,2} \right)
\end{equation}

\begin{equation}
\label{eq:Desuperheater_saturated_gas_constraints}
0=h_\mathrm{out,1}-h\left(p_\mathrm{out,1}, x=1 \right)
\end{equation}


\subsubsection{Inputs specified}

\begin{table}[H]\begin{center}
\begin{tabular}{lrr}
\toprule
         label &  pr1 (\ref{eq:Desuperheater_pr1}) &  pr2 (\ref{eq:Desuperheater_pr2}) \\
\midrule
 desuperheater &                             0.990 &                             0.990 \\
\bottomrule
\end{tabular}
\caption{Parameters of components of type Desuperheater}
\end{center}\end{table}

\subsubsection{Equations applied}

\begin{equation}
\label{eq:Desuperheater_pr1}
0=p_\mathrm{in,1}\cdot pr1 - p_\mathrm{out,1}
\end{equation}

\begin{equation}
\label{eq:Desuperheater_pr2}
0=p_\mathrm{in,2}\cdot pr2 - p_\mathrm{out,2}
\end{equation}


\subsection{Components of type HeatExchangerSimple}

\subsubsection{Mandatory constraints}

\begin{equation}
\label{eq:HeatExchangerSimple_mass_flow_constraints}
0=\dot{m}_{\mathrm{in,}i}-\dot{m}_{\mathrm{out,}i}\; \forall i \in [1]
\end{equation}

\begin{equation}
\label{eq:HeatExchangerSimple_fluid_constraints}
0=x_{fl\mathrm{,in,}i}-x_{fl\mathrm{,out,}i}\;\forall fl \in\text{network fluids,}\; \forall i \in [1]
\end{equation}


\subsubsection{Inputs specified}

\begin{table}[H]\begin{center}
\begin{tabular}{lr}
\toprule
       label &  pr (\ref{eq:HeatExchangerSimple_pr}) \\
\midrule
  economizer &                                 0.990 \\
  evaporator &                                 0.990 \\
 superheater &                                 0.990 \\
\bottomrule
\end{tabular}
\caption{Parameters of components of type HeatExchangerSimple}
\end{center}\end{table}

\subsubsection{Equations applied}

\begin{equation}
\label{eq:HeatExchangerSimple_pr}
0=p_\mathrm{in,1}\cdot pr - p_\mathrm{out,1}
\end{equation}


\section{Busses in design mode}

\subsection{Bus ``power''}

This bus is used for postprocessing only.

\begin{table}[H]\begin{center}
\begin{tabular}{llll}
\toprule
                 label &                                                   $\dot{E}_\mathrm{comp}$ &              $\dot{E}_\mathrm{bus}$ &  $\eta$ \\
\midrule
 high pressure turbine &  $\dot{m}_\mathrm{in} \cdot \left(h_\mathrm{out} - h_\mathrm{in} \right)$ &  $\dot{E}_\mathrm{comp} \cdot \eta$ &  -1.000 \\
  mid pressure turbine &  $\dot{m}_\mathrm{in} \cdot \left(h_\mathrm{out} - h_\mathrm{in} \right)$ &  $\dot{E}_\mathrm{comp} \cdot \eta$ &  -1.000 \\
  low pressure turbine &  $\dot{m}_\mathrm{in} \cdot \left(h_\mathrm{out} - h_\mathrm{in} \right)$ &  $\dot{E}_\mathrm{comp} \cdot \eta$ &  -1.000 \\
       feed water pump &  $\dot{m}_\mathrm{in} \cdot \left(h_\mathrm{out} - h_\mathrm{in} \right)$ &  $\dot{E}_\mathrm{comp} \cdot \eta$ &  -1.000 \\
     feed water pump 2 &  $\dot{m}_\mathrm{in} \cdot \left(h_\mathrm{out} - h_\mathrm{in} \right)$ &  $\dot{E}_\mathrm{comp} \cdot \eta$ &  -1.000 \\
     feed water pump 3 &  $\dot{m}_\mathrm{in} \cdot \left(h_\mathrm{out} - h_\mathrm{in} \right)$ &  $\dot{E}_\mathrm{comp} \cdot \eta$ &  -1.000 \\
\bottomrule
\end{tabular}
\caption{power}
\end{center}\end{table}




\subsection{Bus ``heat''}

This bus is used for postprocessing only.

\begin{table}[H]\begin{center}
\begin{tabular}{llll}
\toprule
       label &                                                   $\dot{E}_\mathrm{comp}$ &              $\dot{E}_\mathrm{bus}$ & $\eta$ \\
\midrule
  economizer &  $\dot{m}_\mathrm{in} \cdot \left(h_\mathrm{out} - h_\mathrm{in} \right)$ &  $\dot{E}_\mathrm{comp} \cdot \eta$ &  1.000 \\
  evaporator &  $\dot{m}_\mathrm{in} \cdot \left(h_\mathrm{out} - h_\mathrm{in} \right)$ &  $\dot{E}_\mathrm{comp} \cdot \eta$ &  1.000 \\
 superheater &  $\dot{m}_\mathrm{in} \cdot \left(h_\mathrm{out} - h_\mathrm{in} \right)$ &  $\dot{E}_\mathrm{comp} \cdot \eta$ &  1.000 \\
\bottomrule
\end{tabular}
\caption{heat}
\end{center}\end{table}




